﻿using System;

namespace Starfire3d.Interfaces
{
    public interface IDataContainer
    {
        void Add<T>(string key, T value, bool overwrite);

        void ClearData();

        bool GetBool(string key);
        object GetData(string key);
        double GetDouble(string key);
        int GetInt(string key);
        string GetString(string key);

        string ParseTo();
        void ParseFrom(string text);
    }
}
